<template>
  <div>
    <div class="title">电子秤设置</div>
    <el-Row style="margin-bottom: 20px">
      <el-Col :span="12">
        <div class="conBox">
          <div class="label">电子秤读数位数：</div>
          <el-radio-group v-model="radio1" class="ml-4">
            <el-radio label="1" size="large">按商品SKU单个分拣</el-radio>
            <el-radio label="2" size="large">按商品SPU聚合分拣</el-radio>
          </el-radio-group>
        </div>
      </el-Col>
      <el-Col :span="12">
        <div class="conBox">
          <div class="label">电子秤读数单位：</div>
          <el-radio-group v-model="radio1" class="ml-4">
            <el-radio label="1" size="large">公斤</el-radio>
            <el-radio label="2" size="large">斤</el-radio>
          </el-radio-group>
        </div>
      </el-Col>
    </el-Row>
    <el-Row style="margin-bottom: 20px">
      <el-Col :span="12">
        <div class="conBox">
          <div class="label">电子秤读数倍率：</div>
          <div>
            <el-Input></el-Input>
          </div>
        </div>
      </el-Col>
      <el-Col :span="12">
        <div class="conBox">
          <div class="label">电子秤读数顺序：</div>
          <el-radio-group v-model="radio1" class="ml-4">
            <el-radio label="1" size="large">反序</el-radio>
            <el-radio label="2" size="large">正序</el-radio>
          </el-radio-group>
        </div>
      </el-Col>
    </el-Row>
    <el-Row style="margin-bottom: 20px">
      <el-Col :span="12">
        <div class="conBox">
          <div class="label">电子秤读数位数：</div>
          <el-select v-model="value" placeholder="Select">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            />
          </el-select>
        </div>
      </el-Col>
      <el-Col :span="12">
        <div class="conBox">
          <div class="label">电子秤读数单位：</div>
          <div>
            <el-Input></el-Input>
          </div>
        </div>
      </el-Col>
    </el-Row>
    <el-Row style="margin-bottom: 20px">
      <el-Col :span="12">
        <div class="conBox">
          <div class="label">电子秤读数位数：</div>
          <el-select v-model="value" placeholder="Select">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            />
          </el-select>
        </div>
      </el-Col>
    </el-Row>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'

const value = ref('')
const radio1 = ref('')
const options = [
  {
    value: 'Option1',
    label: 'Option1'
  },
  {
    value: 'Option2',
    label: 'Option2'
  }
]
</script>

<style scoped lang="less">
.title {
  font-size: 18px;
  color: #333333;
  line-height: 25px;
}
.conBox {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #333333;
  line-height: 25px;
}
</style>
